package com.zjy.software.day12;

import java.sql.Array;
import java.util.ArrayList;
import java.util.List;

public class ListDemo {
    public static void main(String[] args)
    {
    	List list=new ArrayList();
        list.add("dddd");
        list.add("bbbb");
        list.add("cccc");
        Object o = list.get(0);
        System.out.println("o = " + o);
        System.out.println("list.getLast() = " + list.getLast());

        list.remove(0);
        System.out.println("list.getFirst() = " + list.getFirst());
        System.out.println("list = " + list);
    }
}
